home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / samba / patches / samba-1.001 / samba-1~
Encoding:
Text File  |  1996-07-19  |  3.1 KB  |  99 lines

  1. diff -u -r --new-file --exclude=CVS samba-1.9.16alpha11/source/cvs.log samba-1.9.16alpha12/source/cvs.log
  2. --- samba-1.9.16alpha11/source/cvs.log    Thu Jul 18 20:54:26 1996
  3. +++ samba-1.9.16alpha12/source/cvs.log    Fri Jul 19 19:35:13 1996
  4. @@ -2393,3 +2393,36 @@
  5.  Log Message:
  6.  preparing for release of 1.9.16alpha11
  7.  
  8. +
  9. +****************************************
  10. +Date:    Friday July 19, 1996 @ 3:09
  11. +Author:    samba-bugs
  12. +
  13. +Update of /data/cvs/samba/source
  14. +In directory arvidsjaur:/var/tmp/cvs-serv17698
  15. +
  16. +Modified Files:
  17. +    includes.h namedbname.c 
  18. +Log Message:
  19. +
  20. +NeXT needs #define pid_t int in includes.h
  21. +
  22. +namedbname.c:find_name_search() needed search capability on both local
  23. +subnet records and WINS records. it used to return NULL if the name
  24. +was not found in the local subnet records even if you asked it to search
  25. +the WINS name records as well.
  26. +
  27. +
  28. +
  29. +****************************************
  30. +Date:    Friday July 19, 1996 @ 19:34
  31. +Author:    samba-bu
  32. +
  33. +Update of /data/cvs/samba/source
  34. +In directory arvidsjaur:/samba/samba-bugs/samba/source
  35. +
  36. +Modified Files:
  37. +    version.h 
  38. +Log Message:
  39. +preparing for release of 1.9.16alpha12
  40. +
  41. diff -u -r --new-file --exclude=CVS samba-1.9.16alpha11/source/includes.h samba-1.9.16alpha12/source/includes.h
  42. --- samba-1.9.16alpha11/source/includes.h    Thu Jul 18 20:53:15 1996
  43. +++ samba-1.9.16alpha12/source/includes.h    Fri Jul 19 19:28:14 1996
  44. @@ -584,6 +584,7 @@
  45.  #define mode_t int
  46.  #define GID_TYPE int
  47.  #define gid_t int
  48. +#define pid_t int
  49.  #define SIGNAL_CAST (void (*)(int))
  50.  #define WAIT3_CAST1 (union wait *)
  51.  #define HAVE_GMTOFF
  52. diff -u -r --new-file --exclude=CVS samba-1.9.16alpha11/source/namedbname.c samba-1.9.16alpha12/source/namedbname.c
  53. --- samba-1.9.16alpha11/source/namedbname.c    Thu Jul 18 20:53:15 1996
  54. +++ samba-1.9.16alpha12/source/namedbname.c    Fri Jul 19 19:28:14 1996
  55. @@ -156,24 +156,17 @@
  56.      {
  57.          if (*d != NULL)
  58.          {
  59. +            struct name_record *n = find_name((*d)->namelist, name, search);
  60.              DEBUG(4,("find_name on local: %s %s search %x\n",
  61.                          namestr(name),inet_ntoa(ip), search));
  62. -            return find_name((*d)->namelist, name, search);
  63. -        }
  64. -        else
  65. -        {
  66. -            DEBUG(4,("local find_name_search with a NULL subnet pointer\n"));
  67. -            return NULL;
  68. +            if (n) return n;
  69.          }
  70.      }
  71.  
  72.      if ((search & FIND_WINS) != FIND_WINS) return NULL;
  73.  
  74. -    if (*d == NULL)
  75. -    {
  76. -        /* find WINS subnet record */
  77. -        *d = find_subnet(ipgrp);
  78. -    }
  79. +    /* find WINS subnet record. */
  80. +    *d = find_subnet(ipgrp);
  81.  
  82.      if (*d == NULL) return NULL;
  83.  
  84. @@ -222,7 +215,7 @@
  85.           anything other than as a hexadecimal number :-) */
  86.  
  87.          sprintf(data, "%s#%02x %s %2x %ld",
  88. -           n->name.name,n->name.name_type, /* XXXX ignore the scope for now */
  89. +           n->name.name,n->name.name_type, /* XXXX ignore scope for now */
  90.             inet_ntoa(n->ip),
  91.             n->nb_flags,
  92.             n->death_time);
  93. diff -u -r --new-file --exclude=CVS samba-1.9.16alpha11/source/version.h samba-1.9.16alpha12/source/version.h
  94. --- samba-1.9.16alpha11/source/version.h    Thu Jul 18 20:53:51 1996
  95. +++ samba-1.9.16alpha12/source/version.h    Fri Jul 19 19:34:27 1996
  96. @@ -1 +1 @@
  97. -#define VERSION "1.9.16alpha11"
  98. +#define VERSION "1.9.16alpha12"
  99.